package com.qudian.pay.mq;

import java.util.Map;
import com.qudian.pay.core.model.BaseModel;

/**
 * @Description: 发送消息类
 * @author gaoxiang
 * @date 2016年5月23日 下午1:19:35
 */
public class SendMessage extends BaseModel {
	
	private static final long serialVersionUID = -7982497809831874457L;
	
	/**
	 * @Fields instanceName : producer实例名
	 */ 
	private String instanceName;
	
	private Map<String, Object> bizValue;
	
	/**
	 * 系统默认为0，不做延迟生产，如果业务要延迟生产，需要赋值level级别，延时时间 level对应延时时间 1s 5s 10s 30s 1m 2m
	 * 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h
	 */
	private int delayLevel = 0;
	
	public int getDelayLevel() {
		return delayLevel;
	}
	
	public void setDelayLevel(int delayLevel) {
		this.delayLevel = delayLevel;
	}
	
	public Map<String, Object> getBizValue() {
		return bizValue;
	}
	
	public void setBizValue(Map<String, Object> bizValue) {
		this.bizValue = bizValue;
	}
	
	public String getInstanceName() {
		return instanceName;
	}
	
	public void setInstanceName(String instanceName) {
		this.instanceName = instanceName;
	}
}
